﻿@model Orion.Models.FrontPageViewModel
@{
    ViewBag.Title = "List";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>List</h2>
 <h1>Mögulegar leitarniðurstöður</h1>

    <h2>NewsArticle results</h2>
    @foreach (var na in Model.NewsArticle) {
    <ul>
        <li>@na.Title</li>
    </ul>
    }

    <h2>Event results</h2>
    @foreach (var e in Model.Events) {
    <ul>
        <li>
            @e.Title
        </li>
    </ul>
    }
